package com.xuecheng.content.model.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum AuditStatusEnum {
    //审核不通过
    FAIL("202001", "审核不通过"),
    //未提交
    NOT_SUBMIT("202002", "未提交"),
    //已提交
    SUBMIT("202003", "已提交"),
    //已发布
    PUBLISH("202004", "审核通过");


    @EnumValue
    private String auditStatus;
    @JsonValue
    private String statusText;

    AuditStatusEnum(String auditStatus, String statusText) {
        this.auditStatus = auditStatus;
        this.statusText = statusText;
    }
}
